package com.fujica.invoicing.entity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 进货表(TPurchase)实体类
 *
 * @author makejava
 * @since 2020-08-11 11:25:41
 */
@Table(name = "t_purchase")
public class TPurchase implements Serializable {
    private static final long serialVersionUID = 388310927329518729L;

    @Id
    private Integer id;
    /**
     * 仓库id
     */
    private Integer dId;
    /**
     * 负责进货的员工id
     */
    private Integer eId;
    /**
     * 供应商id
     */
    private Integer suId;
    /**
     * 总金额
     */
    private BigDecimal purAmount;
    /**
     * 进货日期
     */
    private Date purDate;

    public TPurchase() {
    }

    public TPurchase(Integer dId, Integer eId, Integer suId, BigDecimal purAmount, Date purDate) {
        this.dId = dId;
        this.eId = eId;
        this.suId = suId;
        this.purAmount = purAmount;
        this.purDate = purDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDId() {
        return dId;
    }

    public void setDId(Integer dId) {
        this.dId = dId;
    }

    public Integer getEId() {
        return eId;
    }

    public void setEId(Integer eId) {
        this.eId = eId;
    }

    public Integer getSuId() {
        return suId;
    }

    public void setSuId(Integer suId) {
        this.suId = suId;
    }

    public BigDecimal getPurAmount() {
        return purAmount;
    }

    public void setPurAmount(BigDecimal purAmount) {
        this.purAmount = purAmount;
    }

    public Date getPurDate() {
        return purDate;
    }

    public void setPurDate(Date purDate) {
        this.purDate = purDate;
    }

}